<?php /* Smarty version 2.6.26, created on 2014-11-11 21:29:06
         compiled from page/siswa.html */ ?>
<p class="pull-left">Daftar siswa beserta negara berdasarkan urutan nama Lengkap</p>
<a href="" class="btn btn-small btn-success pull-right"><i class="icon-plus"></i> Tambah Siswa</a>
<br /><br />
<table class="table table-bordered table-hover">
	<thead>
		<tr>
			<th>NIS</th>
			<th>Nama Lengkap</th>
			<th>Tgl Lahir</th>
			<th>Email</th>
			<th>Kewarganegaraan</th>
			<th></th>
		</tr>	
	</thead>	
	<tbody>
		<?php $_from = $this->_tpl_vars['siswa']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['val']):
?>
		<tr>
			<td><?php echo $this->_tpl_vars['val']['nis']; ?>
</td>
			<td><?php echo $this->_tpl_vars['val']['full_name']; ?>
</td>
			<td><?php echo $this->_tpl_vars['val']['date_ob']; ?>
</td>
			<td><?php echo $this->_tpl_vars['val']['email']; ?>
</td>
			<td><?php echo $this->_tpl_vars['val']['nationality']; ?>
</td>
			<td>
				<a href="edit_siswa.php?id=<?php echo $this->_tpl_vars['val']['id_siswa']; ?>
" class="btn btn-mini btn-primary"><i class="icon-pencil"></i></a> 
				&nbsp; 
				<a href="del_siswa.php?id=<?php echo $this->_tpl_vars['val']['id_siswa']; ?>
" class="btn btn-mini btn-warning"><i class="icon-remove"></i></a>
			</td>
		</tr>	
		<?php endforeach; endif; unset($_from); ?>
	</tbody>	
</table>	